JetBrains WebStorm 開發 Angular 17


Posted by monoserve174 on 2024-03-18

JetBrains WebStorm 開發 Angular 17

利用上班的零散時間,處理 Angular 新版本專案的處理,當在新版本的 HTML 模板中,使用 @if 語法則出現錯誤訊息,但實際編譯確實是可以運行。綜合上述粗淺的觀察,推斷是編譯器的鍋,錯誤訊息與解決方式如下:

錯誤樣式:

Unterminated expansion form. If you have unescaped '{', use '{{ "{" }}' to escape it. And also code formatting does not work as expected.

解決方式:

升級 JetBrains WebStorm 版本至 2023.3.5 版本

參考資料

  1. stackoverflow - IntelliJ Idea Ultimate 2023.2.5 does not support Angular 17 new control flow [closed]

#webstorm #Angular #angular17 #@if







Related Posts

2048 專案

2048 專案

How to Set Up Firewall with UFW on Ubuntu 20.04

How to Set Up Firewall with UFW on Ubuntu 20.04

17. Iterator

17. Iterator


Comments